package org.jeecg.modules.system.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: sys_oss
 * @Author: jeecg-boot
 * @Date:   2024-09-06
 * @Version: V1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysOss implements Serializable {
    private static final long serialVersionUID = 1L;

	/**对象存储主键*/
    @TableId(type = IdType.ASSIGN_ID)
    private java.lang.String ossId;
	/**文件名*/
	@Excel(name = "文件名", width = 15)
    @ApiModelProperty(value = "文件名")
    private java.lang.String fileName;
	/**原名*/
	@Excel(name = "原名", width = 15)
    @ApiModelProperty(value = "原名")
    private java.lang.String originalName;
	/**文件后缀名*/
	@Excel(name = "文件后缀名", width = 15)
    @ApiModelProperty(value = "文件后缀名")
    private java.lang.String fileSuffix;
	/**URL地址*/
	@Excel(name = "URL地址", width = 15)
    @ApiModelProperty(value = "URL地址")
    private java.lang.String url;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**上传人*/
    @ApiModelProperty(value = "上传人")
    private java.lang.String createBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**服务商*/
	@Excel(name = "服务商", width = 15)
    @ApiModelProperty(value = "服务商")
    private java.lang.String service;
}
